package com.csun.cmny.provider.dao;

import com.csun.cmny.provider.pojo.ExpenseCtr;

import java.util.List;
import java.util.Map;

public interface ExpenseCtrMapper {
    int deleteByPrimaryKey(Integer expensectrId);

    int insert(ExpenseCtr record);

    int insertSelective(ExpenseCtr record);

    ExpenseCtr selectByPrimaryKey(Integer expensectrId);

    int updateByPrimaryKeySelective(ExpenseCtr record);

    int updateByPrimaryKey(ExpenseCtr record);
    /**
     * 根据ExpenseCtr查询ExpenseCtr
     * author:liqian
     * date:2018-11-07 13:34
     */
    ExpenseCtr selectByExpCtr(ExpenseCtr expenseCtr);
    /**
     * 根据条件查询该社区的所有类别
     * author:liqian
     * date:2018-11-07 13:49
     */
    List<Map<String,Object>> showAll(Map<String,Object> queryMap);
    /**
     * 根据类别id和机构id查询该类别下的所有项目
     * author:liqian
     * date:2018-11-07 14:35
     */
    List<ExpenseCtr> selectOne(ExpenseCtr expenseCtr);
}